package com.eud.dao;

import java.util.List;

import com.eud.entity.Admin;
import com.eud.entity.User;
public interface UserDao {
	public User query(String name);
	public int add(User user);
	public List<User> queryByAny(User user);
	public List<User> queryAll();
	public int delet(int id);
	public int update(User user);
	public int deletAll(String idAll);
	public Admin queryAdmin(String name);
	public int addAdmin(Admin admin);
	public List<Admin> queryByAnyAdmin(Admin admin);
	public List<Admin> queryAllAdmin();
	public int deletAdmin(int id);
	public int updateAdmin(Admin admin);
	public int deletAllAdmin(String idAll);
}
